package com.bawei.rk_01

import android.os.Bundle
import android.os.CountDownTimer
import androidx.activity.enableEdgeToEdge
import androidx.appcompat.app.AppCompatActivity
import androidx.core.view.ViewCompat
import androidx.core.view.WindowInsetsCompat
import androidx.lifecycle.lifecycleScope
import com.bawei.base.utils.mvvm.BaseViewActivity
import com.bawei.rk_01.databinding.ActivityWelBinding
import kotlinx.coroutines.launch

class WelActivity : BaseViewActivity<ActivityWelBinding>() {
    override fun getLayout(): Int {
        return R.layout.activity_wel
    }

    override fun initView() {

        //使用协成开启倒计时
        lifecycleScope.launch {
            val time : CountDownTimer = object : CountDownTimer(5000,1000) {
                override fun onTick(millisUntilFinished: Long) {

                }

                override fun onFinish() {

                }

            }
        }

    }

    override fun initData() {

    }

}